package com.chixing.Homework;

public class Account1 {
    public  long accNo;
    public String accName;
    private long accPassword;
    private double accBalance;
    private int accType;

    public  Account1(long no,String name,long pwd,double bal,int type){
        System.out.println("账号：" + no + " 账户名：" + name + " 密码：" + pwd + " 余额：" + bal +" 类型 :" + type);
    }

    public void Rand(int num){

        int rand=(int)(Math.random()*num+1)*1234560;
        System.out.println("622262"+rand);
    }




    public long getAccNo() {
        return accNo;
    }

    public void setAccNo(long accNo) {
        this.accNo = accNo;
    }

    public String getAccName() {
        return accName;
    }

    public void setAccName(String accName) {
        this.accName = accName;
    }

    public long getAccPassword() {
        return accPassword;
    }

    public void setAccPassword(long accPassword) {
        this.accPassword = accPassword;
    }

    public double getAccBalance() {
        return accBalance;
    }

    public void setAccBalance(double accBalance) {
        this.accBalance = accBalance;
    }

    public int getAccType() {
        return accType;
    }

    public void setAccType(int accType) {
        this.accType = accType;
    }

}
